package com.qhy.springcloud.service;

import com.qhy.springcloud.dao.CommonResult;
import org.springframework.stereotype.Component;

/**
 * @author qiuhongyu
 * @date 2020/12/6 20:50
 */
@Component
public class DeptFallBackService implements DeptClientService {

    public CommonResult<?> queryDeptById(Long id) {
        return new CommonResult<String>(444, "服务降级返回，DeptFallBackService", id + "error");

    }
}
